package com.basicspring.myapp.beanclasses;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.basicspring.myapp.pojos.Employee;

@Configuration
public class HelloBeanClass {
	@Bean
	public Employee createEmplBeanInst() {
		Employee empl = new Employee();
		empl.setEmployeeName("Kanwaljeet S.");
		return empl;
	}
}
